<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>WIKINDX CLASS DOCUMENTATION</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX METHODS</h2>
<p><strong>Method:</strong><br />
  
  listFields()
</p>
<p><strong>Class:</strong><br />

  <a href="statementsClass.html">STATEMENTS</a>
<p><strong>Method Call:</strong><br />
  include_once("core/sql/STATEMENTS.php");<br />
  ARRAY STATEMENTS::listFields();
</p>
<p><strong>Description:</strong><br />
  
Returns an array of commonly used fields pertaining to resources and formatted for inclusion in a SQL statement 
such as <a href="selectMethod.html">select()</a>.</p>
<p><strong>Usage:</strong><br />
<pre>
	$fields = STATEMENTS::listFields();
</pre>
$fields will be:
<pre>
	array(array("WKX_resource.id" => "resourceId"), "type", "title", "subtitle", "noSort", "url", "isbn", 
	"field1", "field2", "field3", "field4", "field5", "field6", "field7", "field8", "field9", 
	"file", "collection", "publisher", 
	"miscField1", "miscField2", "miscField3", "miscField4", 
	"tag", "addUserIdResource", "editUserIdResource", 
	"year1", "year2", "year3", 
	"pageStart", "pageEnd", 
	"creator1", "creator2", "creator3", "creator4", "creator5", 
	"quotes", "paraphrases", "musings", 
	"publisherName", "publisherLocation", "publisherType", 
	"collectionTitle", "collectionTitleShort", "collectionType", 
	array("WKX_resource_timestamp.timestamp" => "timestamp"));
</pre>
</p>
<br />
Example:<br />
See <a href="../statements/listjoinMethod.html">STATEMENTS::listJoin()</a> for an example of how to use this.
<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
</body>

</html>
